package top.honlnk.czuan.pojo.dto.add;

import cn.hutool.json.JSONArray;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AddMorphemeDTO {
    private String morpheme;
    private Integer formId;
    private String explain;
    private JSONArray translationIdList;

    public String getTranslationIdListJson() {
        return translationIdList.toString();
    }
}
